<extend name="Public:index" />
<block name="left">
	<ul >
		<li><a href="{:U('admin/Info/list1')}">订单</a></li>
		<li><a href="{:U('admin/Info/list2')}">订单详情</a></li>
		<li><a href="{:U('admin/Info/wpay')}">未付款订单</a></li>
		<li><a href="{:U('admin/Info/export2')}">导出订单</a></li>
	</ul>	
</block>
<block name="right">
	<div class="right_center">
		<form method="post" action="{:U('admin/Info/list3')}">
			<input type="text" name="account" placeholder="请输入查询的用户" />
			<input type="submit" class="search" value="搜索" />
		</form>
		<form method="post" action="{:U('admin/Info/list3')}">
			<input type="text" name="phone" placeholder="请输入查询的手机号" />
			<input type="submit" class="search" value="搜索" />
		</form>
	</div>
	<table class="table table-striped table-hover">
		<thead>
			<th>编号</th>
			<th>用户</th>
			<th>产品</th>
			<th>姓名</th>
			<th>手机号</th>
			<th>地址</th>
			<th>快递</th>
			<th>修改</th>
		</thead>
		<tbody>
			<foreach name="info1.list" item="info">
				<tr>
					<td>{$info.id}</td>
					<td>{$info.user}</td>
					<td>{$info.chanpin}</td>
					<td>{$info.name}</td>
					<td>{$info.phone}</td>
					<td>{$info.address}</td>
					<td>{$info.expressid}</td>
					<td><a href="{:U('admin/info/up_address',array("pk"=>$info['id']))}">修改</a></td>
				</tr>
			</foreach>
		</tbody>
		<tfoot>
			<th colspan="5">{$info1.page}<span></th>
		</tfoot>
	</table>
</block>